package com.woniu.service;

import com.woniu.dto.HisPrescriptionDto;
import com.woniu.dto.PageDTO;
import com.woniu.moudle.HisPrescription;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.AddByIdHisPrescriptionParam;
import com.woniu.param.ListHisPrescriptionParam;
import com.woniu.param.ModifyHisPrescriptionParam;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author w
 * @since 2021-11-11
 */
public interface HisPrescriptionService extends IService<HisPrescription> {
    List<HisPrescriptionDto> newDrugs(AddByIdHisPrescriptionParam addByIdHisPrescriptionParam);
    Boolean deleteMedication(ArrayList<Integer> ids);
    Boolean modifyState(ModifyHisPrescriptionParam modifyHisPrescriptionParam);
    Boolean modifyPayment(ModifyHisPrescriptionParam modifyHisPrescriptionParam);
    PageDTO queryMedication(ListHisPrescriptionParam listHisPrescriptionParam);
}
